#include "membervar.h"

MemberVar::MemberVar(const QString& name, const QString& expr, const Type& type, const YYLTYPE& loc)
        : Node(loc), m_name(name), m_expr(expr), m_type(type)
{    
}

Type MemberVar::type()
{
    return m_type;
}
